import http from "@/utils/http";

export const getArtShowByPageAPI = (page: number, pageSize: number) => {
  return http({
    url: "/api/v1/artShow/get",
    method: "GET",
    params: {
      page,
      pageSize,
    },
  });
};

export const addArtShowAPI = (data: {
  id: any;
  region: string;
  name: string;
  address: string;
}) => {
  return http({
    url: "/api/v1/artShow/add",
    method: "POST",
    data:data
  });
};
